Developer Documentation

QuickTime 4 API Documentation

Programming With QuickTime VR

| Previous | Chapter Contents | Chapter Top | Next |

Transition Properties

The transitionProperty parameter of the function QTVRSetTransitionProperty specifies a type of property for a transition for a panoramic node. These constants define the available values of that parameter:

enum {
    kQTVRTransitionSpeed                            = 1,
    kQTVRTransitionDirection                        = 2
};

Constant descriptions

kQTVRTransitionSpeed
The speed at which the transition should occur. The value in the transitionValue parameter should be an integer from 1 (the slowest transition speed) through 10 (the fastest transition speed).
kQTVRTransitionDirection
The direction in which the transition should occur. The value in the transitionValue parameter should be a constant of type QTVRNudgeControl that indicates the direction in which the view should swing while moving from the current view to the new view. This direction can be left or right, or it can have the value -1, which causes the default direction to be used. By default, a swing transition occurs along the shortest route between the two views.

© 1998 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |